package com.wootion.dizhi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wootion.dizhi.entity.Device;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DeviceMapper extends BaseMapper<Device> {
    void insertDevice(Device device);

    Device selectById(String id);

    List<Device> selectAllWithPagination(int offset, int limit);
}